#ifndef __LINKQUEUE_H_
#define __LINKQUEUE_H_

#include "DoubleLinkList.h"

class LinkQueue
{
public:
    using ElementType = DoubleLinkList::ElementType;
    LinkQueue(){};
    ~LinkQueue(){};

    //入队列
    void Push(const ElementType& element );
    //出队列
    void Pop();
    //获取队头元素
    ElementType *GetFront();
    //判断队列是否为空
    bool IsEmpty();
    size_t Size(){return list.Size();}
private:
    DoubleLinkList list;


};



#endif 